package com.ruoyi.quality.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 质检模板配置到物料项
 * @TableName t_inspection_template_material
 */
@TableName(value ="t_inspection_template_material")
@Data
public class InspectionTemplateMaterial implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 
     */
    private String code;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private String updateBy;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Boolean delFlag;

    /**
     * 
     */
    private String materialCode;

    /**
     * 公差上限
     */
    private Double lowerTolerance;

    /**
     * 公差下限
     */
    private Double upperTolerance;

    /**t_equipment_tree
     * 标准值
     */
    private Double standardValue;

    /**
     *  是否合格
     */
    private String passed;

    /**
     * 
     */
    private Long inspectionTemplateId;

    /**
     * 模板名称
     */
    private String inspectionTemplateName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}